﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C6D RID: 3181
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NLBPHDCPCPF : IMessage<NLBPHDCPCPF>, IMessage, IEquatable<NLBPHDCPCPF>, IDeepCloneable<NLBPHDCPCPF>, IBufferMessage
	{
		// Token: 0x1700280C RID: 10252
		// (get) Token: 0x06008E26 RID: 36390 RVA: 0x00179AE4 File Offset: 0x00177CE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NLBPHDCPCPF> Parser
		{
			get
			{
				return NLBPHDCPCPF._parser;
			}
		}

		// Token: 0x1700280D RID: 10253
		// (get) Token: 0x06008E27 RID: 36391 RVA: 0x00179AEB File Offset: 0x00177CEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NLBPHDCPCPFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700280E RID: 10254
		// (get) Token: 0x06008E28 RID: 36392 RVA: 0x00179AFD File Offset: 0x00177CFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NLBPHDCPCPF.Descriptor;
			}
		}

		// Token: 0x06008E29 RID: 36393 RVA: 0x00179B04 File Offset: 0x00177D04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NLBPHDCPCPF()
		{
		}

		// Token: 0x06008E2A RID: 36394 RVA: 0x00179B17 File Offset: 0x00177D17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NLBPHDCPCPF(NLBPHDCPCPF other) : this()
		{
			this.itemList_ = other.itemList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008E2B RID: 36395 RVA: 0x00179B41 File Offset: 0x00177D41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NLBPHDCPCPF Clone()
		{
			return new NLBPHDCPCPF(this);
		}

		// Token: 0x1700280F RID: 10255
		// (get) Token: 0x06008E2C RID: 36396 RVA: 0x00179B49 File Offset: 0x00177D49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PJGILLBDDKG> ItemList
		{
			get
			{
				return this.itemList_;
			}
		}

		// Token: 0x06008E2D RID: 36397 RVA: 0x00179B51 File Offset: 0x00177D51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NLBPHDCPCPF);
		}

		// Token: 0x06008E2E RID: 36398 RVA: 0x00179B5F File Offset: 0x00177D5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NLBPHDCPCPF other)
		{
			return other != null && (other == this || (this.itemList_.Equals(other.itemList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008E2F RID: 36399 RVA: 0x00179B94 File Offset: 0x00177D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.itemList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008E30 RID: 36400 RVA: 0x00179BC8 File Offset: 0x00177DC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008E31 RID: 36401 RVA: 0x00179BD0 File Offset: 0x00177DD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008E32 RID: 36402 RVA: 0x00179BD9 File Offset: 0x00177DD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.itemList_.WriteTo(ref output, NLBPHDCPCPF._repeated_itemList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008E33 RID: 36403 RVA: 0x00179C00 File Offset: 0x00177E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.itemList_.CalculateSize(NLBPHDCPCPF._repeated_itemList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008E34 RID: 36404 RVA: 0x00179C39 File Offset: 0x00177E39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NLBPHDCPCPF other)
		{
			if (other == null)
			{
				return;
			}
			this.itemList_.Add(other.itemList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008E35 RID: 36405 RVA: 0x00179C67 File Offset: 0x00177E67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008E36 RID: 36406 RVA: 0x00179C70 File Offset: 0x00177E70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.itemList_.AddEntriesFrom(ref input, NLBPHDCPCPF._repeated_itemList_codec);
				}
			}
		}

		// Token: 0x0400363E RID: 13886
		private static readonly MessageParser<NLBPHDCPCPF> _parser = new MessageParser<NLBPHDCPCPF>(() => new NLBPHDCPCPF());

		// Token: 0x0400363F RID: 13887
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003640 RID: 13888
		public const int ItemListFieldNumber = 2;

		// Token: 0x04003641 RID: 13889
		private static readonly FieldCodec<PJGILLBDDKG> _repeated_itemList_codec = FieldCodec.ForMessage<PJGILLBDDKG>(18U, PJGILLBDDKG.Parser);

		// Token: 0x04003642 RID: 13890
		private readonly RepeatedField<PJGILLBDDKG> itemList_ = new RepeatedField<PJGILLBDDKG>();
	}
}
